#include<stdio.h>
char *str[]={"few","several","pack","lots","horde","throng","swarm","zounds","legion"}; 
int arr[]={     1,      5,     10,    20,    50,     100,      250,    500,    1000,    20000}; 
int i=-1,n;
int main(){
    scanf("%d",&n);
    while(arr[i+1]<=n)i++;
    printf("%s",str[i]);
    return 0;
}
